#!/usr/bin/python
# -*- coding: GB2312 -*-  
from urllib import urlencode import cookielib, urllib2  # 
cookie cj = cookielib.LWPCookieJar() 
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) 
urllib2.install_opener(opener)  # 
Login user_data = {'pwuser': '你的用户名',              'pwpwd': '你的密码',              'step':'2'             } 
url_data = urlencode(user_data) 
login_r = opener.open("http://bbs.qzzn.com/login.php", url_data) 

